package com;

import com.config.SecurityConfig;
import com.config.WebServerConfig;
import com.controller.HelloController;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext;
@SpringBootConfiguration
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(
                new Class[]{
                        WebServerConfig.class,
                        HelloController.class,
                        SecurityConfig.class,
//                        Application.class
                },
                args
        );

    }
}
